Verifies that the java.lang.Override annotation is present when the {@inheritDoc} javadoc tag is present.